var rgb="rgb(253,183,25)";
var tempArr=rgb.split(",");
for (let index = 0; index < tempArr.length; index++) {
    const element = array[index];
    parseInt(element)
}
console.log(tempArr);